package com.github.zj.dreamly.guava.eventbus.internal;

import java.lang.reflect.Method;

/**
 * @author 苍海之南
 */
public class MySubscriber {

	private final Object subscribeObject;

	private final Method subscribeMethod;

	private boolean disable = false;

	public MySubscriber(Object subscribeObject, Method subscribeMethod) {
		this.subscribeObject = subscribeObject;
		this.subscribeMethod = subscribeMethod;
	}

	public Object getSubscribeObject() {
		return subscribeObject;
	}

	public Method getSubscribeMethod() {
		return subscribeMethod;
	}

	public boolean isDisable() {
		return disable;
	}

	public void setDisable(boolean disable) {
		this.disable = disable;
	}
}
